package com.ruoyi.farmwell.well.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.farmwell.ghy.domain.SysGhy;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机井信息对象 sys_well
 * 
 * @author ZJP
 * @date 2024-07-23
 */
public class SysWell extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 机井编号 */
    @Excel(name = "机井编号")
    private String wellNumber;

    /** 原机井编号 */
    @Excel(name = "原机井编号")
    private String oldWellNumber;

    /** 立项年 */
    @Excel(name = "立项年")
    private String projectYear;

    /** 原主管部门 */
    @Excel(name = "原主管部门")
    private String departHead;

    /** 市级 */
    @Excel(name = "市级")
    private String city;

    /** 县 */
    @Excel(name = "县")
    private String county;

    /** 乡镇 */
    @Excel(name = "乡镇")
    private String town;

    /** 机井类型 */
    @Excel(name = "机井类型")
    private String wellType;

    /** 是否提升 */
    @Excel(name = "是否提升")
    private String isPromote;

    /** 是否能用 */
    @Excel(name = "是否能用")
    private String isUse;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 排查人 */
    @Excel(name = "排查人")
    private String identifyName;

    /** 排查联系方式 */
    @Excel(name = "排查联系方式")
    private String identifyPhone;

    /** 审核通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核通过时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvalTime;

    /** 机井建设年份  */
    @Excel(name = "机井建设年份")
    private String constructionYear;

    /** 是否故障  */
    @Excel(name = "是否故障")
    private String isFault;
    /** 行政村  */
    @Excel(name = "行政村")
    private String cun;
    /** 行政村  */
    @Excel(name = "管护员")
    private String ghyName;
    /** 行政村  */
    @Excel(name = "联系方式")
    private String ghyTel;

    private SysGhy ghy;

    public String getCun() {
        return cun;
    }

    public void setCun(String cun) {
        this.cun = cun;
    }

    public String getGhyName() {
        return ghyName;
    }

    public void setGhyName(String ghyName) {
        this.ghyName = ghyName;
    }

    public String getGhyTel() {
        return ghyTel;
    }

    public void setGhyTel(String ghyTel) {
        this.ghyTel = ghyTel;
    }

    public SysGhy getGhy() {
        return ghy;
    }

    public void setGhy(SysGhy ghy) {
        this.ghy = ghy;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWellNumber(String wellNumber) 
    {
        this.wellNumber = wellNumber;
    }

    public String getWellNumber() 
    {
        return wellNumber;
    }
    public void setOldWellNumber(String oldWellNumber) 
    {
        this.oldWellNumber = oldWellNumber;
    }

    public String getOldWellNumber() 
    {
        return oldWellNumber;
    }
    public void setProjectYear(String projectYear) 
    {
        this.projectYear = projectYear;
    }

    public String getProjectYear() 
    {
        return projectYear;
    }
    public void setDepartHead(String departHead) 
    {
        this.departHead = departHead;
    }

    public String getDepartHead() 
    {
        return departHead;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setTown(String town) 
    {
        this.town = town;
    }

    public String getTown() 
    {
        return town;
    }
    public void setWellType(String wellType) 
    {
        this.wellType = wellType;
    }

    public String getWellType() 
    {
        return wellType;
    }
    public void setIsPromote(String isPromote) 
    {
        this.isPromote = isPromote;
    }

    public String getIsPromote() 
    {
        return isPromote;
    }
    public void setIsUse(String isUse) 
    {
        this.isUse = isUse;
    }

    public String getIsUse() 
    {
        return isUse;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getIsFault() {
        return isFault;
    }

    public void setIsFault(String isFault) {
        this.isFault = isFault;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setIdentifyName(String identifyName) 
    {
        this.identifyName = identifyName;
    }

    public String getIdentifyName() 
    {
        return identifyName;
    }
    public void setIdentifyPhone(String identifyPhone) 
    {
        this.identifyPhone = identifyPhone;
    }

    public String getIdentifyPhone() 
    {
        return identifyPhone;
    }
    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }
    public void setConstructionYear(String constructionYear) 
    {
        this.constructionYear = constructionYear;
    }

    public String getConstructionYear() 
    {
        return constructionYear;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wellNumber", getWellNumber())
            .append("oldWellNumber", getOldWellNumber())
            .append("projectYear", getProjectYear())
            .append("departHead", getDepartHead())
            .append("city", getCity())
            .append("county", getCounty())
            .append("town", getTown())
            .append("wellType", getWellType())
            .append("isPromote", getIsPromote())
            .append("isUse", getIsUse())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("identifyName", getIdentifyName())
            .append("identifyPhone", getIdentifyPhone())
            .append("approvalTime", getApprovalTime())
            .append("constructionYear", getConstructionYear())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
